package io.gitee.tziye.core.instance;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import static io.gitee.tziye.common.Constants.DEFAULT;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class InstanceSpec {

    private String group = DEFAULT;
    private String service = DEFAULT;
    private int port;

    public InstanceSpec(String group, String service) {
        this.group = group;
        this.service = service;
    }
}
